package cn.iocoder.yudao.module.security.controller.admin.dashboard.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 大屏 事件 Response VO")
@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NetworkEventRespVO {

    @Schema(description = "源IP")
    private String sourceIp;

    @Schema(description = "源端口")
    private Integer sourcePort;

    @Schema(description = "目的IP")
    private String destinationIp;

    @Schema(description = "目的端口")
    private Integer destinationPort;

    @Schema(description = "协议")
    private String protocol;

    @Schema(description = "发生时间")
    private LocalDateTime eventTime;

    @Schema(description = "事件类型")
    @ExcelProperty("事件类型")
    private String eventType;

}